DEBUG = True

DIALECT = 'mysql'
DRIVER = 'pymysql'
USERNAME = 'root'
PASSWORD = '1535122923Wmf'
HOST = '127.0.0.1'
PORT = '3306'
DATABASE = 'test'

SQLALCHEMY_DATABASE_URI = '{}+{}://{}:{}@{}:{}/{}?charset=utf8'.format(DIALECT, DRIVER, USERNAME, PASSWORD, HOST, PORT,
                                                                       DATABASE)
# SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:1535122923Wmf@localhost:3306/test?charset=utf8'

SQLALCHEMY_TRACK_MODIFICATIONS = True